package com.cctc.framework.domain;

import java.util.List;

import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.cctc.framework.bean.BaseObj;

public class EntityForGrid extends BaseObj
{
    
    private static final long serialVersionUID = 1L;
    
    @JsonSerialize
    @JsonDeserialize
    @JsonProperty("total")
    private int total;
    
    @JsonSerialize
    @JsonDeserialize
    @JsonProperty("rows")
    private List<?> rows;
    
    
    
    
    public EntityForGrid(int total, List<?> rows)
    {
        this.total = total;
        this.rows = rows;
    }

    public int getTotal()
    {
        return total;
    }
    
    public void setTotal(int total)
    {
        this.total = total;
    }
    
    public List<?> getRows()
    {
        return rows;
    }
    
    public void setRows(List<?> rows)
    {
        this.rows = rows;
    }
    
}
